Skip to main content

revXMLRPC_Documents

Type

function

Summary

Returns a list of all XML-RPC documents in memory.

Syntax

revXMLRPC_Documents()

Description

Use the revXMLRPC_Documents function to find out which XML-RPC documents have been created, or when you want to perform an action on all the XML-RPC documents you're working with.

Each document ID is the number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request, or the successful revXMLRPC_Execute function when you executed an XML-RPC request.

If the revXMLRPC_Documents function encounters an error, it returns an error message starting with "xmlrpcerr".

Important

The revXMLRPC_Documents function is part of the XML-RPC library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "XML-RPC" library checkbox is checked.

Examples

revXMLRPC_Documents()
if tMyRequest is not among the lines of revXMLRPC_Documents() then loadRequest tMyRequest

keyword: line

library: XML-RPC library

command: revXMLRPC_DeleteAllDocuments

control structure: function

function: revXMLRPC_Execute, revXMLRPC_CreateRequest

glossary: Standalone Application Settings, standalone application, return, XML-RPC, XML-RPC document, LiveCode custom library

Compatibility and Support

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?